.loading_container {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;

  .header {
    margin: 12px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;

    .left {
      .title_container {
        display: flex;
        gap: 5px;
        align-items: center;

        .text {
          font-size: 14px;
          font-weight: bold;
        }
      }

      .form_container {
        display: flex;
        align-items: center;
        gap: 30px;
        margin-top: 20px;

        .form_item {
          display: flex;
          align-items: center;

          .label {
            font-size: 12px;
            min-height: 22px;
            line-height: 22px;
            color: #999999;
          }

          .value {
            color: #505050;
          }
        }
      }
    }
  }

  .chart_container {
    margin: 0 12px;
    padding: 20px 10px;
    background-color: #fff;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;

    li {
      display: flex;

      .chart_item {
        width: 100px;
        height: 100px;
      }
    }
  }
}

.main {
  display: flex;
  flex-direction: column;
  flex: 1;

  .demo-tabs {
    display: flex;
    flex: 1;

    :deep(.el-tabs__content) {
      display: flex;
      flex-direction: column;
      flex: 1;

      .el-tab-pane {
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;

        .table {
          margin-top: 10px;
          flex: 1;
          position: relative;

          .btns {
            display: flex;
            align-items: center;
            justify-content: space-between;
          }
        }
      }
    }

    :deep(.el-tabs__nav-wrap) {
      border-bottom: 1px solid #dcdfe6;

      &::after {
        height: 0.5px !important;
      }
    }

    .addrole {
      display: flex;
      justify-content: flex-end;

      .add_btn {
        width: 4vw;
        border-color: $primaryColor;
        color: $primaryColor;

        &:hover {
          background-color: $primaryColor;
          color: #fff;
        }
      }
    }
  }

  .footer {
    padding: 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

.btn_save {
  width: 4vw;
}

.btn_delete {
  color: #ffffff;
  width: 4vw;
}

.btn_danger {
  width: 60px;
}

.btn_cancel {
  width: 60px;

  &:hover {
    border: 1px solid #e5e5e5;
    color: #999;
    background-color: #e5e5e5;
  }
}

.el-tag.el-tag--success {
  --el-tag-text-color: #00c0c0;
  --el-tag-bg-color: #ebf6f6;
  --el-tag-border-color: #ebf6f6;
  --el-tag-hover-color: #00c0c0;
}

.el-tag.el-tag--info {
  --el-tag-border-color: var(--el-color-info-light-9);
}

.el-tag {
  --el-tag-border-color: var(--el-color-primary-light-9);
}

.el-tag.el-tag--warning {
  --el-tag-border-color: var(--el-color-warning-light-9);
}
